<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/5/23 0023
 * Time: 下午 15:58
 */

namespace Home\Model;
use Think\Model;

class MeetingNotesModel extends Model{
    public function getNotesUseSyqk($data){
        foreach($data as $k=>$v){
            $arr['meeting_room_id'] = $v['meeting_room_id'];
            $arr['date'] = $v['date'];
            $arr['use_time'] = $v['date_time'];
            $data[$k]['user'] = $this->field('host_name,cb_bumen')->where($arr)->find();

        }
        return $data;
    }

}
